package com.foreknow.elm.dao;

import com.foreknow.elm.po.Orderdetailet;

import java.util.List;
public interface OrderdetailetDao {
    /**
     * //批量添加到订单明细表
     * @param list
     * @return
     * @throws Exception
     */
    public  int saveOrderDetailetBath(List<Orderdetailet> list) throws Exception;

    /**
     * 根据订单的Id查询明细列表
     * @param orderId
     * @return
     */
    public List<Orderdetailet>listOrderDetailetByOrderId(Integer orderId);


}
